<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <link rel="shortcut icon" href="/static/bg_img/favicon.ico">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>U享书城后台管理</title>
    <link rel="stylesheet" href="{{ url_for('static',filename='layui/css/layui.css') }}">
</head>
<body>
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo"><img src="{{ url_for('static',filename='bg_img/logo.png') }}"
                                     style="width: 60px;height: 60px"> U享书城 后台管理
        </div>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img src="{{ url_for('static',filename="bg_img/per_logo.jpg") }}" class="layui-nav-img">
                    admin
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="">修改个人信息</a></dd>
                    <dd><a href="">切换账号</a></dd>
                    <dd><a href="">注销账号</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item"><a href="/">登出</a></li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="test">

                <li class="layui-nav-item layui-nav-itemed">
                    <a href="/classList" target="mainframe"><span class="layui-icon layui-icon-face-smile-fine"></span>&nbsp;&nbsp;&nbsp;&nbsp;分类管理</a>
                </li>
                <br><br><br>
                <li class="layui-nav-item layui-nav-itemed">
                    <a href="/artList" target="mainframe"><span class="layui-icon layui-icon-read"></span>&nbsp;&nbsp;&nbsp;&nbsp;文章管理</a>
                </li>
                <br><br><br>
                {#        <li class="layui-nav-item">#}
                {#            <a href="/userList" target="mainframe"><span class="layui-icon layui-icon-group"></span>&nbsp;&nbsp;&nbsp;&nbsp;作者管理</a>#}
                {#        </li>#}
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="javascript:;"><span class="layui-icon  layui-icon-template-1"></span>&nbsp;&nbsp;&nbsp;&nbsp;统计分析</a>
                    <dl class="layui-nav-child">
                        <dd><a href="/artSys" target="mainframe"><span class="layui-icon layui-icon-log"></span>&nbsp;&nbsp;&nbsp;&nbsp;文章分析</a>
                        </dd>
                        <dd><a href="/userSys" target="mainframe"><span class="layui-icon layui-icon-chart"></span>&nbsp;&nbsp;&nbsp;&nbsp;用户分析</a>
                        </dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>

    <div class="layui-body">
        <!-- 内容主体区域 -->

        <div style="padding: 15px; ">
            <iframe name="mainframe" src="/welcomeadmin" width="100%" height="600px" frameborder="0">
            </iframe>
        </div>
    </div>

    <div class="layui-footer">
        <!-- 底部固定区域 -->
        <p class="center">Copyright &#169; 2021-2022 飞鹰团队, Lales.</p>
    </div>
</div>

<script src="{{ url_for('static',filename='layui/layui.js') }}"></script>
<script>
    //JavaScript代码区域
    layui.use('element', function () {
        var element = layui.element;

    });
</script>
</body>
</html>